﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PJTY.dal;
public partial class sp3 : System.Web.UI.Page
{
    DataClasses1DataContext db = new DataClasses1DataContext();

    protected void Page_Load(object sender, EventArgs e)
    {
        var res =from r in db.Producttype
                 select r;
        GridView1.DataSource= res;
        GridView1.DataBind();
    }
}